@import "components/common/_variables.scss";

.features {
    &__title {
        margin-top: 0;
        margin-bottom: $spacing-l;
        box-sizing: border-box;
    }
    &__item {
        &_even {
            background: $color-smooth;
        }
        &-content {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 125px 0;
            box-sizing: border-box;
        }
        &-header {
            width: 30%;
        }
        &-title {
            margin: 0 0 $spacing-m;
            small {
                font-weight: $font-weight-regular;
                opacity: 0.6;
            }
        }
        &-label {
            color: $color-alt;
            font-size: $font-size-small;
            display: inline-block;
            padding: 5px 10px;
            background: rgba(225, 237, 255, 0.7);
            border-radius: 10px;
        }
        &-list {
            width: 60%;

            list-style-type: none;
            padding: 0;
            margin: 0 0 0 auto;

            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;

            line-height: 1.5;

            &_num {
                list-style-type: decimal;
            }
            a {
                color: $color-alt;
                &:hover {
                    text-decoration: none;
                }
            }

            & > li {
                margin-bottom: $spacing-l;
                width: 100%;
                @media (min-width: $container-breakpoint-lg) {
                    width: 40%;
                }
                ul {
                    list-style-type: none;
                    margin: $spacing-m 0 $spacing-l;
                    padding: 0;
                    li {
                        opacity: 0.6;
                        font-size: $font-size-small;
                        margin-bottom: $spacing-m;
                    }
                }
            }
        }
    }
}